<!DOCTYPE html>
<html>
	<include file="public/home@header"/>
	<body>
		<!--加载遮罩-->
		<div class="load"></div>
		
		<div class="index">
			<div class="step">
				<div class="step-t"><img src="__TMPL__/public/home/img/title-1.png" alt="·活动中，我的感受是："/></div>
				<div class="step-gs">
					<img src="__TMPL__/public/home/img/photo1.png" width="100%" alt=""/>
					<p>
						{$content[1]|default=""}
					</p>
					
					<div class="pub-btn">
						<a href="javascript:submitFn()" class="button">我的感言</a>
					</div>
				</div>
				
				<div class="page">
					<a href="{$last_url}" class="pagePrev"></a>
					<a href="{$url}" class="pageNext"></a>
				</div>
			</div>
		</div>
		<include file="public/home@footer"/>
		<script type="text/javascript">
			function submitFn(){
				//判断浏览器
				var u = navigator.userAgent;
				if(/MicroMessenger/gi.test(u)) {
				    // 引导用户在浏览器中打开
				    alert('请在浏览器中打开');
				    return;
				}
				var d = new Date();
				var t0 = d.getTime();
				if(u.indexOf('Android') > -1 || u.indexOf('Linux') > -1){
				    window.location.href = "qtj://abc?vid={$Request.param.id}";
				    t = Date.now();
				    setTimeout(function(){
				    	
				        if (Date.now() - t < 5000) {
				            location.href = 'https://a.app.qq.com/o/simple.jsp?pkgname=com.qtj.fungo&from=singlemessage';
				        }
				    }, 4000);
				}   
			}

		</script>
	</body>
</html>
